import axios from 'axios'
import { API_EMPLOYEE } from '../constant/urls'

// 查询基本信息
export const getInfo = (id) => axios({
    url: `${API_EMPLOYEE}/shop/${id}`,
})
// 查询所有的产品
export const getCommodityList = (id) => axios({
    url: `${API_EMPLOYEE}/commoditys/${id}`,
    method: 'GET',
})
